public class LuckyConfig
{
	private static string FILE_PATH = "Cfg/Lucky";

	private static bool _isLoaded;

	private static ProbConfig _config;

	public static ProbConfig config => _config;

	public static void Load()
	{
		if (!_isLoaded)
		{
			_config = new ProbConfig(FILE_PATH);
			_isLoaded = true;
		}
	}

	public static ProbInfo RandomLuckyInfo()
	{
		if (_config != null)
		{
			return _config.GetItem();
		}
		return null;
	}
}
